package arsmodeller.model;

import org.eclipse.draw2d.geometry.Point;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EObject;
public interface Link extends EObject {

	/**
	 * Returns the value of the '<em><b>Opd</b></em>' container reference. It is
	 * bidirectional and its opposite is '
	 * {@link com.vainolo.phd.opm.model.OPMObjectProcessDiagram#getLinks
	 * <em>Links</em>}'. <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Opd</em>' container reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * 
	 * @return the value of the '<em>Opd</em>' container reference.
	 * @see #setOpd(OPMObjectProcessDiagram)
	 * @see com.vainolo.phd.opm.model.OPMPackage#getOPMLink_Opd()
	 * @see com.vainolo.phd.opm.model.OPMObjectProcessDiagram#getLinks
	 * @model opposite="links" transient="false"
	 * @generated
	 */
	ObjectProcessingDiagram getOpd();

	/**
	 * Sets the value of the '{@link com.vainolo.phd.opm.model.OPMLink#getOpd
	 * <em>Opd</em>}' container reference. <!-- begin-user-doc --> <!--
	 * end-user-doc -->
	 * 
	 * @param value
	 *            the new value of the '<em>Opd</em>' container reference.
	 * @see #getOpd()
	 * @generated
	 */
	void setOpd(ObjectProcessingDiagram value);

	/**
	 * Returns the value of the '<em><b>Source</b></em>' reference. It is
	 * bidirectional and its opposite is '
	 * {@link com.vainolo.phd.opm.model.OPMThing#getOutgoingLinks
	 * <em>Outgoing Links</em>}'. <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Source</em>' reference isn't clear, there
	 * really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * 
	 * @return the value of the '<em>Source</em>' reference.
	 * @see #setSource(OPMThing)
	 * @see com.vainolo.phd.opm.model.OPMPackage#getOPMLink_Source()
	 * @see com.vainolo.phd.opm.model.OPMThing#getOutgoingLinks
	 * @model opposite="outgoingLinks"
	 * @generated
	 */
	Thing getSource();

	/**
	 * Sets the value of the '
	 * {@link com.vainolo.phd.opm.model.OPMLink#getSource <em>Source</em>}'
	 * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
	 * 
	 * @param value
	 *            the new value of the '<em>Source</em>' reference.
	 * @see #getSource()
	 * @generated
	 */
	void setSource(Thing value);

	/**
	 * Returns the value of the '<em><b>Target</b></em>' reference. It is
	 * bidirectional and its opposite is '
	 * {@link com.vainolo.phd.opm.model.OPMThing#getIncomingLinks
	 * <em>Incoming Links</em>}'. <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Target</em>' reference isn't clear, there
	 * really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * 
	 * @return the value of the '<em>Target</em>' reference.
	 * @see #setTarget(OPMThing)
	 * @see com.vainolo.phd.opm.model.OPMPackage#getOPMLink_Target()
	 * @see com.vainolo.phd.opm.model.OPMThing#getIncomingLinks
	 * @model opposite="incomingLinks"
	 * @generated
	 */
     Thing getTarget();

	/**
	 * Sets the value of the '
	 * {@link com.vainolo.phd.opm.model.OPMLink#getTarget <em>Target</em>}'
	 * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
	 * 
	 * @param value
	 *            the new value of the '<em>Target</em>' reference.
	 * @see #getTarget()
	 * @generated
	 */
	void setTarget(Thing value);

	/**
	 * Returns the value of the '<em><b>Bendpoints</b></em>' attribute list. The
	 * list contents are of type {@link org.eclipse.draw2d.geometry.Point}. <!--
	 * begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Bendpoints</em>' attribute list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * 
	 * @return the value of the '<em>Bendpoints</em>' attribute list.
	 * @see com.vainolo.phd.opm.model.OPMPackage#getOPMLink_Bendpoints()
	 * @model dataType="com.vainolo.phd.opm.model.Point"
	 * @generated
	 */
	EList<Point> getBendpoints();
}
